//
//  interfaceRunner.h
//  taptap-server
//
//  Created by Michael Humphris on 11/08/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//
#include "ThemeManager.h"
#include "TrackManager.h"
#include "workerResult.h"

#include "taptapHTTPConnection.h"

#import "HTTPServer.h"
#import "DDLog.h"
#import "DDTTYLogger.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;


@interface interfaceRunner : NSObject <workerResult> {
    NSProgressIndicator* progressIndicator;
    HTTPServer *httpServer;
    
    NSButton *btnServerStart;
    NSButton *btnServerStop;
    NSButton *btnUpdateThemes;
    NSButton *btnUpdateTracks;
    
}
@property (nonatomic, retain) IBOutlet NSProgressIndicator* progressIndicator;


@property (nonatomic,retain) IBOutlet NSButton *btnServerStart;
@property (nonatomic,retain) IBOutlet NSButton *btnServerStop;
@property (nonatomic,retain) IBOutlet NSButton *btnUpdateThemes;
@property (nonatomic,retain) IBOutlet NSButton *btnUpdateTracks;


-(IBAction)startServer:(id)sender;
-(IBAction)stopServer:(id)sender;

-(IBAction)updateTracks:(id)sender;
-(IBAction)updateThemes:(id)sender;


@end
